import React from 'react'
import {Link,} from 'react-router-dom'
import constants from "../../../../utils/constants"

const ConsultButton = props => {
    const template = (
        <div style={{color: '#FA7268',}}>咨询其他问题，请留言 >></div>
    )

    const containerStyle = {
        position: 'fixed',
        bottom: '0',
        width: '100%',
        backgroundColor: '#fff',
        textAlign: 'center',
        height: '44px',
        lineHeight: '44px',
        color: `${constants.themeColor}`
    }

    return (
        <Link
            to="/help/comment"
        >
            <div
                style={containerStyle}
            >
                {template}
            </div>
        </Link>

    )
}

export default ConsultButton
